package com.cn.ant.modules.volunteer.dao;

import com.cn.ant.common.persistence.CrudDao;
import com.cn.ant.common.persistence.MyBatisRepository;
import com.cn.ant.modules.volunteer.entity.Volunteer;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 志愿组合DAO接口
 * @author 黄根华
 * @version 2015-10-11
 */
@MyBatisRepository
public interface VolunteerDao extends CrudDao<Volunteer> {

    public List<Map<String,String>> findVolunteer(Map<String,String> params);

    public Volunteer getByCode(@Param("volunteerCode") String volunteerCode);

    public void deleteUnFavorite(Map<String, String> params);
}